package tech.aistar.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class AppointmentTime {
    private Integer id;

    private Integer tenantId;

    private Integer houseId;
    @DateTimeFormat(pattern = "yyyy/MM/dd")
    private Date appointmentDate;

    private String timeQuantum;

    private String appointmentState;

    private Integer agentId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTenantId() {
        return tenantId;
    }

    public void setTenantId(Integer tenantId) {
        this.tenantId = tenantId;
    }

    public Integer getHouseId() {
        return houseId;
    }

    public void setHouseId(Integer houseId) {
        this.houseId = houseId;
    }

    public Date getAppointmentDate() {
        return appointmentDate;
    }

    public void setAppointmentDate(Date appointmentDate) {
        this.appointmentDate = appointmentDate;
    }

    public String getTimeQuantum() {
        return timeQuantum;
    }

    public void setTimeQuantum(String timeQuantum) {
        this.timeQuantum = timeQuantum;
    }

    public String getAppointmentState() {
        return appointmentState;
    }

    public void setAppointmentState(String appointmentState) {
        this.appointmentState = appointmentState;
    }

    public Integer getAgentId() {
        return agentId;
    }

    public void setAgentId(Integer agentId) {
        this.agentId = agentId;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("AppointmentTime{");
        sb.append("id=").append(id);
        sb.append(", tenantId=").append(tenantId);
        sb.append(", houseId=").append(houseId);
        sb.append(", appointmentDate=").append(appointmentDate);
        sb.append(", timeQuantum='").append(timeQuantum).append('\'');
        sb.append(", appointmentState='").append(appointmentState).append('\'');
        sb.append(", agentId=").append(agentId);
        sb.append('}');
        return sb.toString();
    }
}